package com.maket.scxx.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 生产BOM对象 mes_bom
 * 
 * @author ruoyi
 * @date 2024-06-28
 */
public class MesBom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** BOM编码 */
    private String bomCode;

    /** BOM名称 */
    @Excel(name = "BOM名称")
    private String bomName;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String cpCode;

    private String cpName;

    /** BOM分类 */
    @Excel(name = "BOM分类")
    private String bomSortcode;

    private String bomType;

    public String getCpName() {
        return cpName;
    }

    public void setCpName(String cpName) {
        this.cpName = cpName;
    }

    public String getBomType() {
        return bomType;
    }

    public void setBomType(String bomType) {
        this.bomType = bomType;
    }

    /** 物料版本 */
    @Excel(name = "物料版本")
    private String wlVersion;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Long isUse;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long isDelete;

    public void setBomCode(String bomCode) 
    {
        this.bomCode = bomCode;
    }

    public String getBomCode() 
    {
        return bomCode;
    }
    public void setBomName(String bomName) 
    {
        this.bomName = bomName;
    }

    public String getBomName() 
    {
        return bomName;
    }
    public void setCpCode(String cpCode) 
    {
        this.cpCode = cpCode;
    }

    public String getCpCode() 
    {
        return cpCode;
    }
    public void setBomSortcode(String bomSortcode) 
    {
        this.bomSortcode = bomSortcode;
    }

    public String getBomSortcode() 
    {
        return bomSortcode;
    }
    public void setWlVersion(String wlVersion) 
    {
        this.wlVersion = wlVersion;
    }

    public String getWlVersion() 
    {
        return wlVersion;
    }
    public void setIsUse(Long isUse) 
    {
        this.isUse = isUse;
    }

    public Long getIsUse() 
    {
        return isUse;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bomCode", getBomCode())
            .append("bomName", getBomName())
            .append("cpCode", getCpCode())
            .append("bomSortcode", getBomSortcode())
            .append("wlVersion", getWlVersion())
            .append("isUse", getIsUse())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
